/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.shoppingsystem.view.renders;

import com.shoppingsystem.view.converters.DateString;
import java.awt.Component;
import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.TableCellRenderer;

/**
 *
 * @author vivancu
 */
public class DateCellRender extends DefaultTableCellRenderer{

    
    @Override
    
    public void setText(String text) {
        super.setText(DateString.formatter.format(text));
    }    
}
